package cn.site.modules.sys.dao;

import cn.site.modules.sys.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * 用户DAO接口
 *
 * Created by ZGJ on 2015/3/8.
 */
public interface UserDao extends JpaRepository<User,String> {

    User findByLoginName(String username);

}
